package com.yanfan.energy.domain.statist;

import java.io.Serializable;
import java.util.Map;

/**
 * @author caijinkang
 * @date 2022年09月28日 9:55
 */
public class WorkshopStatistics implements Serializable {
    /**
     * 车间ID
     *
     * @author caijinkang
     * @date 2023/1/4 15:10
     * @param null
     * @return null
     */
    private Integer workshopId;

    /**
     * 车间名称
     *
     * @author caijinkang
     * @date 2023/1/4 15:10
     * @param null
     * @return null
     */
    private String workshopName;
    /**
     * 楼栋id
     *
     * @author caijinkang
     * @date 2023/2/20 11:09
     * @param null
     * @return null
     */
    private Integer buildingId;

    /**
     * 楼层id
     *
     * @author caijinkang
     * @date 2023/5/5 11:55
     * @param null
     * @return null
     */
    private Integer floorId;
    /**
     * 分类
     *
     * @author caijinkang
     * @date 2023/2/20 11:09
     * @param null
     * @return null
     */
    private Integer classify;
    /**
     * 能源类型
     *
     * @author caijinkang
     * @date 2022/12/14 16:31
     * @param null
     * @return null
     */
    private Integer type;
    /**
     * 名称
     *
     * @author caijinkang
     * @date 2023/3/24 11:35
     * @param null
     * @return null
     */
    private String name;
    /**
     * 能源小类型
     *
     * @author caijinkang
     * @date 2022/12/14 16:46
     * @param null
     * @return null
     */
    private Integer typeCode;
    /**
     * 能源用量
     *
     * @author caijinkang
     * @date 2023/1/4 15:11
     * @param null
     * @return null
     */
    private Double number;
    /**
     * 能源用电
     *
     * @author caijinkang
     * @date 2023/1/4 15:42
     * @param null
     * @return null
     */
    private Double electricity;
    /**
     * 设备id
     *
     * @author caijinkang
     * @date 2023/3/24 11:36
     * @param null
     * @return null
     */
    private Integer deviceId;
    /**
     * 能耗的单位
     *
     * @author caijinkang
     * @date 2023/1/4 15:59
     * @param null
     * @return null
     */
    private Map<String, Object> countDosage;

    public WorkshopStatistics() {
    }

    public WorkshopStatistics(Integer workshopId, Integer buildingId, Integer classify, Integer type, String name) {
        this.workshopId = workshopId;
        this.buildingId = buildingId;
        this.classify = classify;
        this.type = type;
        this.name = name;
    }

    public WorkshopStatistics(Integer workshopId, String workshopName, Integer type, Integer typeCode, Double number, Double electricity, Map<String, Object> countDosage) {
        this.workshopId = workshopId;
        this.workshopName = workshopName;
        this.type = type;
        this.typeCode = typeCode;
        this.number = number;
        this.electricity = electricity;
        this.countDosage = countDosage;
    }

    @Override
    public String toString() {
        return "WorkshopStatistics{" + "workshopId=" + workshopId + ", buildingId=" + buildingId + ", classify=" + classify + ", type=" + type + ", name='" + name + '\'' + '}';
    }

    public Integer getWorkshopId() {
        return workshopId;
    }

    public void setWorkshopId(Integer workshopId) {
        this.workshopId = workshopId;
    }

    public Integer getBuildingId() {
        return buildingId;
    }

    public void setBuildingId(Integer buildingId) {
        this.buildingId = buildingId;
    }

    public Integer getClassify() {
        return classify;
    }

    public void setClassify(Integer classify) {
        this.classify = classify;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getWorkshopName() {
        return workshopName;
    }

    public void setWorkshopName(String workshopName) {
        this.workshopName = workshopName;
    }

    public Integer getTypeCode() {
        return typeCode;
    }

    public void setTypeCode(Integer typeCode) {
        this.typeCode = typeCode;
    }

    public Double getNumber() {
        return number;
    }

    public void setNumber(Double number) {
        this.number = number;
    }

    public Double getElectricity() {
        return electricity;
    }

    public void setElectricity(Double electricity) {
        this.electricity = electricity;
    }

    public Map<String, Object> getCountDosage() {
        return countDosage;
    }

    public void setCountDosage(Map<String, Object> countDosage) {
        this.countDosage = countDosage;
    }

    public Integer getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(Integer deviceId) {
        this.deviceId = deviceId;
    }

    public Integer getFloorId() {
        return floorId;
    }

    public void setFloorId(Integer floorId) {
        this.floorId = floorId;
    }
}
